

#import "MailEditCell.h"
#import "IDominoAppDelegate.h"
@implementation MailEditCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
	self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
	if (self)
	{
		// turn off selection use
		self.selectionStyle = UITableViewCellSelectionStyleNone;
	}
	return self;
}

- (void)setTextField:(UITextField*)textField label:(UILabel*)textLabel button:(UIButton*)button
{
	[self.contentView addSubview:textLabel];
	[self.contentView addSubview:textField];
	if(![[textLabel text] isEqualToString:NSLocalizedString(@"Subject:", @"")]){		
		self.accessoryView =button;
		button.hidden=YES;
	}
	return ;
}





@end